﻿using Library.Core.Infrastructure.PersistenceObject;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Synthesize.Infrastructure.PersistentObjects.Authority
{
    /// <summary>
    /// 菜单-权限表
    /// </summary>
    [Table("BaseSet_MenuPermissionInfo")]
    public class MenuPermissionInfo : PersistenceObjectBase
    {

        /// <summary>
        ///菜单唯一标识符
        /// </summary>
        public Guid MenuId
        {
            get; set;
        }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string Name
        {
            get; set;
        }

        /// <summary>
        /// 权限码
        /// </summary>
        public string Code
        {
            get; set;
        }

    }
}
